const actions = {
    // 登录用户信息
    LogSetSearchtimes ({ commit }, resinfo) {
        commit('SET_SEARCHTIMES', resinfo);
        wx.setStorageSync('searchtimes', resinfo)
    },
	LogSetSearchtimes2 ({ commit }, resinfo) {
	    commit('SET_SEARCHTIMES2', resinfo);
	    wx.setStorageSync('searchtimes2', resinfo)
	},
	LogSetPhone ({ commit }, resphone) {
	    commit('SET_USERPHONE', resphone);
	    wx.setStorageSync('zguserphone', resphone);
	},
	LogSetOpenid ({ commit }, resopenid) {
	    commit('SET_USEROPENID', resopenid);
		wx.setStorageSync('useropenid', resopenid);
	},
	LogSetName ({ commit }, resname) {
	    commit('SET_USERNAME', resname);
	},
	LogSetPage ({ commit }, respage) {
	    commit('SET_PAGE', respage);
		wx.setStorageSync('bxloginpage', respage);
	},
	LogSetFavzw ({ commit }, resfavzw) {
	    commit('SET_FAVZW', resfavzw);
		wx.setStorageSync('favzw', resfavzw);
	},
	LogSetTikuUser ({ commit }, res) {
	    commit('SET_TIKUUSER', res);
	},
	LogSetBanji ({ commit }, res) {
	    commit('SET_SELECTBANJI', res);
	}

};

export default actions
